<template>
  <div class="content">
    <mt-cell title="版本1.0"
             class="border-botInfo">
      <mt-button type="primary"
                 size="small"
                 @click="update">检查更新</mt-button>
    </mt-cell>
  </div>
</template>

<script>
import { Cell, Button, Toast } from 'mint-ui'
export default {
  name: 'Content',
  components: {
    [Cell.name]: Cell,
    [Button.name]: Button,
    [Toast.name]: Toast
  },
  data () {
    return {
    }
  },
  watch: {
  },
  methods: {
    update () {
      Toast({
        message: '当前已是最新版本',
        position: 'middle',
        duration: 3000
      })
    }
  },
  mounted () {
  }
}
</script>

<style lang="stylus" scoped>
</style>
